<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>精简的写法</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">


	<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" />

	<script type="text/javascript" src="extjs/ext-base.js"></script>
	<script type="text/javascript" src="extjs/ext-all.js"></script>
	
	<script>	
	Ext.onReady(function() {

			var _panel = new Ext.Panel({
						renderTo : Ext.getBody(),
						title : "登 陆",
						frame : true, // 圆角
						width : 260,
						height : 150,
						layout : "form", // 布局
						labelWidth : 45,
						
						defaults: {             
    						xtype : "textfield",
    						width : 180
						},

						items : [{
								fieldLabel : "账 号"
						},{
								fieldLabel : "密 码"
						}],
						buttons : [{
								text : "确 定"
						},{
								text : "取 消"
						}]

					})

		});
	
	
	
	</script>

  </head>
  
 <body>  

</body>  
</html>
